#include<bits/stdc++.h>
using namespace std;

int main() {
	
	char cms_in ;
	
	cin >> cms_in ;
	
	cout << "  " << cms_in << endl ;
	
	cout << " " << cms_in << cms_in << cms_in << endl ;
	
	cout << cms_in << cms_in << cms_in << cms_in << cms_in << endl ;
	
	return 0;
}

